package com.employeemanage.service;

import com.employeemanage.domain.bean.TblPurchase;
import com.employeemanage.domain.resp.PageResult;
import com.employeemanage.domain.vo.PurchaseAddResponseVo;
import com.employeemanage.domain.vo.PurchaseAddVo;
import com.employeemanage.domain.vo.PurchaseListVo;
import com.employeemanage.domain.vo.PurchaseResponseVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 郭可欣
* @description 针对表【tbl_purchase(采购记录)】的数据库操作Service
* @createDate 2025-07-05 14:20:29
*/
public interface TblPurchaseService extends IService<TblPurchase> {

    /**
     * 获取进货记录列表（MyBatis-Plus分页，返回实体）
     * @param purchaseListVo 查询条件
     * @return 分页结果
     */
    PageResult<TblPurchase> getPurchaseList(PurchaseListVo purchaseListVo);

    /**
     * 新增进货记录
     * @param purchaseAddVo 进货记录信息
     * @return 新增结果
     */
    PurchaseAddResponseVo addPurchase(PurchaseAddVo purchaseAddVo);
}
